﻿using System;
using System.Collections.Generic;

namespace E.Model
{
    [Serializable]
    public class CertificateModel
    {
        private int _id;
        private string _name;

        public int ID
        {
            get;
            set;
        }

        public string Name
        {
            get;
            set;
        }
        public bool IsPublic { get; set; }
        public bool IsInternalPublic { get; set; }
    }

    [Serializable]
    public class CourseInCertificateModel
    {
        private int _id;
        private int _certificateid;
        private string _name;
        private IList<CourseModel> _courselist;

        public int ID
        {
            get;
            set;
        }

        public int CertificateID
        {
            get;
            set;
        }

        public string Name
        {
            get;
            set;
        }

        public IList<CourseModel> CourseList
        {
            get;
            set;
        }
    }
}
